package org.formal.business.entity;

import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.formal.common.base.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 教练课程表实体类
 *
 * @author jiangyan
 * @since 2020-05-16
 */
@Data
@Table(name="T_COACH_COURSE")
@EqualsAndHashCode(callSuper = true)
public class CoachCourseEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 会员课程编号
     */
    @Column(name="MC_ID")
    private String mcId;
    /**
     * 教练编号
     */
    @Column(name="COACH_ID")
    private String coachId;
    /**
     * 授课数量，节
     */
    @Column(name="COURSES_NUM")
    private String coursesNum;
    /**
     * 备注
     */
    @Column(name="REMARK")
    private String remark;
    /**
     * 生效日期时间
     */
    @Column(name="EFFECTIVE_TS")
    private LocalDateTime effectiveTs;
}
